package com.wfm.controller;

import com.wfm.service.NumberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/number")
public class NumberController {

    @Autowired
    private NumberService numberService;


    @GetMapping("generator")
    public String number() {
        return numberService.getNumber();
    }

}
